package com.hzsxy.bighomework.repository;

import com.hzsxy.bighomework.entity.ChoiceDO;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by 张晨 on 2018/11/28.
 */
@Repository
public interface ChoiceRepository extends CrudRepository<ChoiceDO,Integer> {
    List<ChoiceDO> findByQuestionId(int questionId);
}
